using System;
using L=Science.Physics.GeneralPhysics;

namespace Serway.Chapter36
{
	/// <summary>
	/// Example10: The Case of a Diverging Lens
	/// Repeat Example 36.9 for a diverging lens of focal 
	/// length 10.0 cm.
	/// </summary>
	public class Example10
	{
		public Example10()
		{
		}
		private string result;
		public string Result
		{
			get{return result;}
		}
		public void Compute()
		{
			L.Lens ls = new L.Lens();
			ls.FocalLength = -0.1;
			ls.ObjectDistance = 0.3;
			ls.FindImageDistance();
			result+=Convert.ToString(ls.ImageDistance);
		}
	}
}
